import 'package:flutter/material.dart';
import 'package:get/get.dart';

import 'mine_logic.dart';
import 'mine_state.dart';

class MinePage extends StatelessWidget {
  MinePage({Key? key}) : super(key: key);

  final MineLogic logic = Get.put(MineLogic());
  final MineState state = Get.find<MineLogic>().state;

  @override
  Widget build(BuildContext context) {
    return Container(
        child:GetBuilder<MineLogic>(builder: (_){
          return Scaffold(
            appBar: AppBar(
              title: Text('我的',style: TextStyle(fontSize: 30,color: Colors.blue)),
            ),
            body: Center(
                child: Container(
                  alignment: Alignment.center,
                  child: TextButton(
                    onPressed:() {

                    },
                    child:  Text('本地数据库',style: TextStyle(fontSize: 30,color: Colors.blue)),
                  ),

                )
            ),
            backgroundColor: Colors.white,
          );
        },)
    );
  }
}
